import request from '../utils/request'

export function getOpLogPageList(params) {
  return request({
    url: '/opLog/list',
    method: 'get',
    params: {
      ...params
    }
  })
}

export function getOpLogById(id) {
  return request({
    url: '/opLog/getById/'+id,
    method: 'get',
  })
}

export function deleteOpLogById(id) {
  return request({
    url: '/opLog/delete/'+id,
    method: 'delete',
  })
}

export function deleteOpLogBatch(ids) {
  return request({
    url: '/opLog/deleteBatch',
    method: 'delete',
    data: ids
  })
}




